const getters = {
  isMobile: state => state.app.isMobile,
  lang: state => state.app.lang,
  theme: state => state.app.theme,
  color: state => state.app.color,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  nickname: state => state.user.name,
  welcome: state => state.user.welcome,
  roles: state => state.user.roles,
  userInfo: state => state.user.info,
  addRouters: state => state.permission.addRouters,
  multiTab: state => state.app.multiTab,
  storage_modal: state => state.storageSelect.storage_modal,
  www_img_modal: state => state.editor.www_img_modal,
  www_video_modal: state => state.editor.www_video_modal,
  admin_name: state => state.setting.admin_name,
  admin_logo: state => state.setting.admin_logo,
  admin_copyright: state => state.setting.admin_copyright,
  describe: state => state.setting.describe,
  help_logo: state => state.setting.help_logo,
  passport_bg: state => state.setting.passport_bg
}

export default getters
